package com.tiantian.springintejms.entity;

import java.io.Serializable;

/**
 * http://haohaoxuexi.iteye.com/blog/1893038
 * 
 * @author JackLiang
 * @date 2016-7-7
 * @version 1.0.0
 */
public class Email implements Serializable {

    private static final long serialVersionUID = -658250125732806493L;

    private String            receiver;
    private String            title;
    private String            content;

    public Email(String receiver, String title, String content){
        this.receiver = receiver;
        this.title = title;
        this.content = content;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Email [receiver=").append(receiver).append(", title=").append(title).append(", content=").append(content).append("]");
        return builder.toString();
    }

}
